
#ifndef					Square_HH
# define				Square_HH

# include				<SFML/Graphics.hpp>
# include				"Macro.hh"

class 					Square
{
private:
	//					Attributes
	sf::Image 			_stoneImage;
	sf::Sprite 			_stone;
	int					_posX;
	int					_posY;
	bool				_display;
	int 				_smell;
	short				_stonePos;
	std::string 		_stonePath;

public:
	//					Ctor-Dtor
	Square(int posX, int posY);
	~Square();
	
	//					Function
	void				init(std::string path);
	char 				getBytePos(int smellPower, short direction);

	//					Getters
	sf::Sprite	const	&getStone() const;
	int 		const 	getSmell() const;
	bool		const	displayable() const;

	//					Setters
	void				setSmell(int smellPower, short direction, bool color);
};

#endif